	
;;; QQ: 67762207
[@main]
#IF
#SAY
What if I say wanted to do??\\
With (FCOLOR/10) <$NPCNAME> (FOCLOR/12) <engage in a dialogue/@TalkToQuest>\\
Be equipped with <special repair/@SpecialRepairitem>\\
Automatically <special body repair/@auto-special repair> \
#ELSESAY
I am doing is a special repairs, so it is not at all times work. \
I started at 10 am and one hour, 23 o'clock start press on for an hour, please come on time. \
The other time to do nothing.\\
With (FCOLOR/10) <$NPCNAME> (FOCLOR/12) <dialogue/@TalkToQuest>\\
<Close/@exit>

[@SpecialRepairitem]
#IF
#SAY
Please select the items to repair the directory. And I was to repair items must be wearing the.\\
With (FCOLOR/10) <$NPCNAME> (FOCLOR/12) <dialogue/@TalkToQuest>\\
_ <Clothes/@SRepairFunc (0)>, <necklace/@SRepairFunc (3)>, <helmets/@SRepairFunc (4)>, <Shoes/@SRepairFunc (10)> \
_ <Bracelet (left)/@SRepairFunc (5)>, <bracelet (right)/@SRepairFunc (6)> \
_ <Ring (left)/@SRepairFunc (7)>, <Ring (right)/@SRepairFunc (8)> \
_ <Medal/@repair Medal< \
_ <Do not repair/@exit>

[@Repair Medal]
#IF
checkduraw 2
large P9 0


#SAY
Special repair time needed 1:00 points! Present your points are <$USERJF> \
<Special repair Medals/@repair Medals 123< \
<Is not repaired/@exit> \

#ELSESAY
You seem to have no Medals ah -_-!. or your medals have been damaged beyond repair and the.


[@Repair Medal 123]
#if

checkcmd CHECKUSERJF 1
#ACT
actcmd SETUSERJF - 1 repair Medal
RepairItem 2
#say
Has been repaired to your complete Medal of! Use the 1 point, you have left <$USERJF> some points.\\
<Close/@exit> \
#elsesay
Your points are not sufficient, for your repairs. \
<Close/@exit> \

[@SRepairFunc ()]
#CALL [System\TotalRepair.txt] @SRepairItem

[@Auto special repair]
#ACT
GetRepairCost 0
MOV D0% P9
MOV P0% D0
GetRepairCost 1
MOV D1% P9
MOV P1% D1
GetRepairCost 3
MOV D2% P9
MOV P2% D2
GetRepairCost 4
MOV D3% P9
MOV P3% D3
GetRepairCost 5
MOV D4% P9
MOV P4% D4
GetRepairCost 6
MOV D5% P9
MOV P5% D5
GetRepairCost 7
MOV D6% P9
MOV P6% D6
GetRepairCost 8
MOV D7% P9
MOV P7% D7
GetRepairCost 10
MOV D8% P9
MOV P8% D8

INC P1% P0
INC P2% P1
INC P3% P2
INC P4% P3
INC P5% P4
INC P6% P5
INC P7% P6
INC P8% P7
MOV D9% P8
#IF
CHECKGOLD% D9
#ACT
TAKE gold% D9
RepairItem 0
RepairItem 1
RepairItem 3
RepairItem 4
RepairItem 5
RepairItem 6
RepairItem 7
RepairItem 8
RepairItem 10
#SAY
(FCOLOR/10) <$USERNAME> (FCOLOR/12)
Your equipment have all been repaired (FCOLOR/14) finished (FCOLOR/12)! \
(FCOLOR/10) <$USERNAME> (FCOLOR/12), (FCOLOR / 3) to your body equipment repair prices are as follows: (FCOLOR/12) \
Clothing repair costs: (FCOLOR/14) <$OUTPUT (D0)> (FCOLOR/12) yuan. \
Weapons, the cost of repairs: (FCOLOR/14) <$OUTPUT (D1)> (FCOLOR/12) yuan. \
Necklace cost of repairs: (FCOLOR/14) <$OUTPUT (D2)> (FCOLOR/12) yuan. \
Helmets cost of repairs: (FCOLOR/14) <$OUTPUT (D3)> (FCOLOR/12) yuan. \
Bracelet (left) Cost: (FCOLOR/14) <$OUTPUT (D4)> (FCOLOR/12) yuan. \
Bracelet (right) Cost: (FCOLOR/14) <$OUTPUT (D5)> (FCOLOR/12) yuan. \
Ring (left) Cost: (FCOLOR/14) <$OUTPUT (D6)> (FCOLOR/12) yuan. \
Ring (right) Cost: (FCOLOR/14) <$OUTPUT (D7)> (FCOLOR/12) yuan. \
The cost of repairing shoes: (FCOLOR/14) <$OUTPUT (D8)> (FCOLOR/12) yuan. \
The total cost of all equipment: (FCOLOR/14) <$OUTPUT (D9)> (FCOLOR/12) yuan. \
(FCOLOR / 1) of the repair of equipment in the body of your articles! (FCOLOR/12) \
<[Back]/@main> \
<[Left]/@exit>
#ELSESAY
(FCOLOR/10) <$USERNAME> (FCOLOR/12)
Prepared by the cash shortage can not be (FCOLOR/14) body equipment repair (FCOLOR/12)! \
<[Back Home]/@main>
<[Exit the system]/@exit>
)


[@TalkToQuest]
#ACT
Mov D0 0

#IF
Check [209] 1
Check [409] 0

#SAY
<On the dialogue with today's tasks./@CALL_Npc_TodayQuest> \

#ACT
Mov D0 1

#IF
! Equal D0 1
#ACT
goto @ NoQuest_Say
break

[@NoQuest_Say]
#SAY
_ Heard somewhere through the Shen Jian, the accessories will be automatically repaired, which for me is not a good news.\\
_ <Close/@exit>


[@CALL_Npc_TodayQuest]
#CALL [TodayQuest\QT_NPCSetting.txt] @ NPCSetDairyQuest

[@everythingreward]
#CALL [System\TotalRewardSystem.txt] @ TotalRewardSystem
;;; QQ: 67762207 